Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IntervalArray<T> Class / Item Property
The zero-based index of the element to get or set.


In This Topic
    Item Property (IntervalArray<T>)
    In This Topic
    Gets or sets the element T at the specified index.
    Syntax
    'Declaration
     
    
    Public Default Property Item( _
       ByVal index As Integer _
    ) As T
    'Usage
     
    
    Dim instance As IntervalArray(Of T)
    Dim index As Integer
    Dim value As T
     
    instance.Item(index) = value
     
    value = instance.Item(index)
    public T this[ 
       int index
    ]; {get; set;}

    Parameters

    index
    The zero-based index of the element to get or set.

    Property Value

    The element at the specified index.
    See Also